package com.pd.dao.mapper;

import com.pd.dao.model.Role;

import java.util.List;

/**
 * Author: dong peng
 * Date: 2018/1/9
 * Time: 16:00
 */


public interface RoleDao {

    public List<Role> selectRoles();

    public Role selectByValue(Integer roleValue);

    public Integer insertRole(Role role);

    public Integer updateRole(Role role);

    public Integer deleteRole(Integer id);
}
